package com.loto.insurance.mis.web.service;

import java.util.List;
import java.util.Map;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.loto.insurance.mis.web.db.mapper.CustFeeFlowMapper;
import com.loto.insurance.mis.web.entity.CustFeeFlow;

@Service
public class CustFeeFlowService {
  static Logger logger = LogManager.getLogger(CustFeeFlowService.class);

  @Autowired
  CustFeeFlowMapper custFeeFlowMapper;

  public List<CustFeeFlow> findAllFeeFlow(Map<String, Object> params) {
	return custFeeFlowMapper.findAllFeeFlowPager(params);
  }

  public long findAllFeeFlowCount(Map<String, Object> params) {
	return custFeeFlowMapper.findAllFeeFlowPagerCount(params);
  }

  public long insertCustFeeFlow(CustFeeFlow feeFlow) {
	return custFeeFlowMapper.insertCustFeeFlow(feeFlow);
  }
  
}
